#@admin_frame_layout()
	
#define css()
#end

#define title()	
#end

#define main()
<div class="pd15">
	<div class="clear">
		<div class="search-item">
			<label>用户名：</label>
			<span class="input-wrap"><input placeholder="请输入用户名"/></span>
		</div>
		<div class="search-item">
			<label>用户名：</label>
			<span class="input-wrap"><input placeholder="请输入用户名"/></span>
		</div>
	</div>
	<div class="clear t-right">
		<span class="btn">搜索</span>
		<span class="btn">清空</span>
	</div>
	
	<div id="datagrid"></div>
</div>
#end

#define js()
	<script>
		$("#datagrid").datagrid({
			url: ctx + '/admin/user/list',
			mapping: [
				{text: '编号', field: 'id', width: '10'},
				{text: '账号', field: 'username', width: '30'},
				{text: '昵称', field: 'nickname', width: '30'},
				{text: '状态', field: 'status', width: '15'},
				{text: '操作', field: 'options', width: '15', embel: function(data) {return '详情'}}
			],
			pageBarId: 'call-select'
		});
	</script>
#end